/*
 * Copyright (c) 2021 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
 */

/**
 *    @file
 *          Example project configuration file for CHIP.
 *
 *          This is a place to put application or project-specific overrides
 *          to the default configuration values for general CHIP features.
 *
 */

#pragma once

#ifdef CONFIG_CHIP_FACTORY_DATA
/* Store Certification Declaration */
#define CHIP_DEVICE_CONFIG_CERTIFICATION_DECLARATION                                                                   \
	{ 0x30, 0x81, 0xe9, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x02, 0xa0, 0x81, 0xdb,        \
	  0x30, 0x81, 0xd8, 0x02, 0x01, 0x03, 0x31, 0x0d, 0x30, 0x0b, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65,        \
	  0x03, 0x04, 0x02, 0x01, 0x30, 0x44, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01,        \
	  0xa0, 0x37, 0x04, 0x35, 0x15, 0x24, 0x00, 0x01, 0x25, 0x01, 0x7f, 0x12, 0x36, 0x02, 0x05, 0x0d, 0x80,        \
	  0x18, 0x24, 0x03, 0x00, 0x2c, 0x04, 0x13, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46,        \
	  0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x46, 0x24, 0x05, 0x00, 0x24, 0x06, 0x00, 0x25, 0x07,        \
	  0xff, 0xff, 0x24, 0x08, 0x01, 0x18, 0x31, 0x7e, 0x30, 0x7c, 0x02, 0x01, 0x03, 0x80, 0x14, 0x62, 0xfa,        \
	  0x82, 0x33, 0x59, 0xac, 0xfa, 0xa9, 0x96, 0x3e, 0x1c, 0xfa, 0x14, 0x0a, 0xdd, 0xf5, 0x04, 0xf3, 0x71,        \
	  0x60, 0x30, 0x0b, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x30, 0x0a, 0x06,        \
	  0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x04, 0x48, 0x30, 0x46, 0x02, 0x21, 0x00, 0xb8,        \
	  0x54, 0x8c, 0xc3, 0x74, 0x0b, 0x75, 0xa8, 0xc6, 0x3b, 0xe3, 0x90, 0x3d, 0x37, 0x94, 0xc7, 0x02, 0xd9,        \
	  0xd9, 0xfd, 0x68, 0xe5, 0x94, 0xf5, 0x1a, 0xd8, 0x50, 0xa6, 0xbb, 0x86, 0x0c, 0x48, 0x02, 0x21, 0x00,        \
	  0xfe, 0x92, 0x65, 0xde, 0x43, 0x5f, 0x84, 0xbe, 0x9e, 0xaa, 0x51, 0xb0, 0x9c, 0xcb, 0x1a, 0x94, 0xa4,        \
	  0x1e, 0x54, 0x7a, 0x8b, 0x4c, 0xbd, 0x50, 0xb0, 0xa8, 0x6a, 0x05, 0x9d, 0xac, 0x64, 0xa9 };
#else
/* Use a default pairing code if one hasn't been provisioned in flash. */
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_PIN_CODE 20202021
#define CHIP_DEVICE_CONFIG_USE_TEST_SETUP_DISCRIMINATOR 0xF00

/* Configure device configuration with exemplary data */
#define CHIP_DEVICE_CONFIG_DEVICE_VENDOR_NAME "Nordic"
#define CHIP_DEVICE_CONFIG_DEVICE_PRODUCT_NAME "WeatherStation"
#define CHIP_DEVICE_CONFIG_DEFAULT_DEVICE_PRODUCT_REVISION_STRING "Prerelease weather station device"
#define CHIP_DEVICE_CONFIG_DEFAULT_DEVICE_PRODUCT_REVISION 1
#define CHIP_DEVICE_CONFIG_DEVICE_FIRMWARE_REVISION_STRING "Prerelease weather station firmware"
#define CHIP_DEVICE_CONFIG_DEVICE_FIRMWARE_REVISION 1
#endif
